package com.zp.system.entity.bo;

import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 自定义服务与菜单对照业务对象
 *
 * @author zhang peng
 * @date 2022-12-11
 */

@Data
public class SysRoleGroupMenuBo {

    /**
     * 自定义服务主键
     */
    @NotBlank(message = "自定义服务主键不能为空", groups = {AddGroup.class, EditGroup.class})
    private String roleGroupId;

    /**
     * 菜单主键
     */
    @NotBlank(message = "菜单主键不能为空", groups = {AddGroup.class, EditGroup.class})
    private String menuId;


}
